#ifndef __AT_H
#define __AT_H


#define EXECUTE_OK  0
#define EXECUTE_CMD_NOT_FIND  1
#define EXECUTE_CMD_PARM_ERR 2
#define EXECUTE_CMD_ERR     3


#define MAX_EXECUTE_CMD_LINE_LENGTH 64
#define MAX_EXECUTE_CMD_LENGTH 16
#define MAX_EXECUTE_PARAM_LENGTH 48

#define MAX_CMD_LENGTH  16
#define MAX_CMD_HELP_LENGTH  32
#define MAX_CMD_LIST_LENGTH  32


typedef struct __CMD {
    char cmd[MAX_CMD_LENGTH];

    void (*function)();

    char help[MAX_CMD_HELP_LENGTH];
} AT_CMD;


int at_execute_cmds(char *cmds);
#endif